﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvcEngine.Mvc.Models.ViewModels;
using MvcEngine.Mvc.Models;

namespace MvcEngine.Gallery.Models
{
    public class GalleryDataSettingsViewModel : MvcEngineModel
    {
        public string Name { get; set; }

        [MvcEngineDisplayName("ImagesPerPageLabel")]
        public int ImagesPerPage { get; set; }

        [MvcEngineDisplayName("DefaultCategoryLabel")]
        [DropDownList("Categories", "Id", "Name")]
        public Guid? DefaultCategory { get; set; }

        public List<GalleryCategoryDetailsViewModel> Categories { get; set; }
    }
}
